/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.put.dcs_modeler.visualModelEditor;


import java.awt.Point;
import java.util.HashMap;
import java.util.logging.Logger;
import pl.put.model.flowModel.flowComputingObjectElement.FlowComputingObjectElement;
/**
 *
 * @author LukaszR
 */
public class FlowProjectProperties
{
    public static Logger log = Logger.getLogger( FlowProjectProperties.class.getName() );
    private HashMap< FlowComputingObjectElement, Point > coPosition = new HashMap< FlowComputingObjectElement, Point >();

    public HashMap<FlowComputingObjectElement, Point> getCoPosition()
    {
        return coPosition;
    }

    public void setCoPosition( HashMap<FlowComputingObjectElement, Point> coPosition )
    {
        this.coPosition = coPosition;
    }

    public void addCoPosition( FlowComputingObjectElement fco, Point p )
    {
        coPosition.put( fco, p );
    }

    public Point getCoPosition( FlowComputingObjectElement fco )
    {
        return coPosition.get( fco );
    }
}
